package com.simple.editor;

/**
 * Created with IntelliJ IDEA.
 * User: vlad
 * Date: 6/14/13
 * Time: 11:21 AM
 * To change this template use File | Settings | File Templates.
 */
public interface ApplicationContext {

    <T> T getComponent(Class<T> tClass);

    Object getComponent(Object key);

    void addComponent(Object component);

    void removeComponent(Object component);

    void addComponent(Object key, Object component, org.picocontainer.Parameter... parameters);
}
